package com.example.robertluozizhao.framecollectdemo.data.bean;

import java.util.List;

/**
 * @author luo_zi_zhao
 * @version V1.0 树结构
 * @FileName com.example.robertluozizhao.framecollectdemo.data.bean
 * @date 2020/5/29 10:58
 */

public class TreeBean {
    private int id;
    private String name;
    private List<TreeBean> children;

    public TreeBean(int id, String name, List<TreeBean> children) {
        this.id = id;
        this.name = name;
        this.children = children;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<TreeBean> getChildren() {
        return children;
    }

    public void setChildren(List<TreeBean> children) {
        this.children = children;
    }
}
